package com.zsk.okhttp;

import java.io.IOException;

import okhttp3.Callback;

public interface IPostTask {

	ResData run() throws IOException;

	void run(Callback callback);

	IPostTask addHeader(String key, String value);

	IPostTask addQueryParam(String key, String value);

	IPostTask addJson(String key, String value);

	IPostTask addJson(String json);

	IPostTask addFormData(String key, String value);

}
